<div class="section">
    <include file="Public/manger_header" />
    <div class="system-form">
    <div class="panel panel-default">
    <div class="panel-body">
        <form class="form-horizontal" action="<{$act_url}>" method="post" role="form">
            <input type="hidden" name="mid" value="<{$data.mid}>" />
            <div class="form-group">
                <label class="col-sm-2 control-label"><span class="form-start">*</span>用户名：</label>
                <div class="col-sm-10">
                  <input type="text" class="form-control" name="user" placeholder="请填写用户名" required value="<{$data.user}>">
            </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label"><span class="form-start">*</span>密码：</label>
                <div class="col-sm-10">
                <input type="password" class="form-control" name="passwd" placeholder="请填写密码" required value="">
            </div>
            </div>
            <div class="form-group">
                <label for="article-actid" class="col-sm-2 control-label"><span class="form-start">*</span>分配角色：</label>
                <div class="col-sm-6">
                <select class="form-control" name="role_id">
                    <option value="0" <if condition="0 eq $data['role_id']">selected</if>>超级管理员</option>
                    <volist name="role_list" id="vo">
                        <option value="<{$vo.role_id}>" <if condition="$vo['role_id'] eq $data['role_id']">selected</if>><{$vo.role_name}></option>
                        
                    </volist>
              </select>
            </div>
            </div>
            <div class="form-group col-sm-8 pull-right">
            <div class="col-sm-6">
                <button type="submit" class="btn btn-success btn-lg">保存</button>
            </div>  
            
            </div>
            
        </form>
    </div>
</div>
</div>
</div>
